package com.zmj.framework.response;

import lombok.*;

import java.util.List;

@Builder(builderMethodName = "PageResponse")
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Data
public class PageResult<T> {
    //分页记录列表
    protected List<T> records;
    //总条数
    protected long total;
    //每页条数
    protected long size;
    //当前页
    protected long current;
    //总页码
    protected long totalPageNum;
}
